home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Just Call Me Internet
/
Just Call Me Internet.iso
/
prog
/
atari
/
c
/
du_lib
/
oldstuff.c
< prev
next >
Wrap
Text File
|
1995-07-10
|
1KB
|
54 lines
ob=0;
printf("1");
do
{
c_obl=a + (ob * ob_sizeof);
obn=c_obl->ob_next;
obf=c_obl->ob_head;
obl=c_obl->ob_tail;
printf("2:obn=%d ",obn);
printf("2:obf=%d ",obf);
printf("2:obl=%d ",obl);
printf("2:a=%d ",a);
printf("2:c_obl=%d ",c_obl);
if (obf!=-1)
{
ob=obf;
lv++;
x[lv]=c_obl->ob_x + x[lv-1];
y[lv]=c_obl->ob_y + y[lv-1];
obn=0;
printf("3");
} else {
printf("4");
while ((obn!=-1)&&(ob!=obn))
{
printf("5");
rd=Get_object_redraw(dialog, ob);
printf("6");
if (rd!=(CallBack)0)
{
cr_obx=x[lv]+c_obl->ob_x;
cr_oby=y[lv]+c_obl->ob_y;
cr_obw=c_obl->ob_width;
cr_obh=c_obl->ob_height;
cr_wind_handle=wind_handle;
this_ob=ob; this_dialog=dialog;
/* (*rd)(); */
printf("redraw_object %d",ob);
}
c_obl=a+obn*ob_sizeof;
if (c_obl->ob_tail!=ob)
{
ob=obn;
} else {
ob=obn;
obn=c_obl->ob_next;
lv=lv-1;
}
}
}
}
while (obn!=-1);